<?php

namespace App\Http\Controllers;

use Illuminate\Http\Request;
use App\Models\User;
use Illuminate\Support\Facades\Auth;
use App\Models\Status;
class StaticPage extends Controller
{
    //
     public function home()
     {
       $feed_items=[];
       if(Auth::check()){
         $feed_items=Auth::user()->feed()->paginate(9);
       }

       return view('static_page/home',compact('feed_items'));
     }

     public function about()
     {


       return view('static_page/about');
     }

     public function help()
     {


       return view('static_page/help');
     }



}
